package com.learn.proxy;

/**
 * jdk代理
 */
public class MainMethod {

    public static void main(String[] args) {
        SmsService smsService = (SmsService) JdkProxyFactory.getProxy(new SmsServiceImpl());
        smsService.send("Java");
    }

}
